home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
fglqbx10.zip
/
09-08.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-06
|
647b
|
39 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM Arrow AS STRING*21
DATA &h00,&h0C,&h00, &h00,&h0F,&h00, &hFF,&hFF,&hC0
DATA &hFF,&hFF,&hF0, &hFF,&hFF,&hC0, &h00,&h0F,&h00
DATA &h00,&h0C,&h00
IF FGtestmode(4,1) = 0 THEN
PRINT "This program requires a 320 x 200 CGA graphics mode."
STOP
END IF
FOR I = 1 TO 21
READ Item
MID$(Arrow,I) = CHR$(Item)
NEXT
OldMode = FGgetmode
FGsetmode 4
FGsetclip 0, 15, 0, 199
FGmove 10, 10
FGdrwimage Arrow, 3, 7
FGmove 10, 20
FGclpimage Arrow, 3, 7
FGmove 8, 30
FGrevimage Arrow, 3, 7
FGmove 8, 40
FGflpimage Arrow, 3, 7
FGwaitkey
FGsetmode OldMode
FGreset
END